00001 00008 class CtimelineView : public CWnd 00009 { 00010 protected: // create from serialization only 00011 CtimelineView(); 00012 DECLARE_DYNCREATE(CtimelineView) 00013 00014 public: 00018 virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 00019 00020 00021 protected: 00022 00023 // Implementation 00024 public: 00028 virtual ~CtimelineView(); 00032 void SetSceneData(); 00033 00037 bool RenderFrame(); 00038 00039 #ifdef _DEBUG 00040 00041 #endif 00042 00043 public: 00047 osg::Matrixd myCameraMatrix; 00048 00052 osg::Matrixd cameraRotation; 00053 00057 osg::Matrixd cameraTrans; 00058 00062 double m_dxcoordinate; 00063 00068 osg::ref_ptr<Producer::KeyboardMouse> m_KBM; 00069 00073 osg::ref_ptr<MFCKeyboardMouseCallbacktime> m_KBMCallback; 00074 00078 osg::ref_ptr<Producer::RenderSurface> m_RenderSurface; 00079 00083 bool m_bInitialised; 00084 00088 osgDB::DatabasePager* m_DatabasePager; 00089 00093 BOOL m_bRenderSurfaceRealized; 00094 00098 BOOL m_bModelLoaded; 00099 00103 osg::Timer_t m_StartTick; 00104 00108 unsigned int m_uiFrameNum; 00109 00113 BOOL m_bGotFocus; 00114 00115 protected: 00116 DECLARE_MESSAGE_MAP() 00117 00122 afx_msg void OnSizing(UINT fwSide, LPRECT pRect); 00123 00127 afx_msg void OnPaint(); 00128 00134 afx_msg void OnMouseMove(UINT nFlags, CPoint point); 00135 00136 }; 00137 00138
1.4.6-NO